package com.ruix.app.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.ruix.app.service.MusicService;

/**
 * Created by hadexs on 2017/5/25.
 */

public class NoisyAudioStreamReceiver  extends BroadcastReceiver{
    @Override
    public void onReceive(Context context, Intent intent) {
        MusicService.startCommand(context, "ACTION_MEDIA_PLAY_PAUSE");
    }
}
